#include "Student.h"

int main() {
  // objc中强弱引用约等于 cpp中的智能指针。

  @autoreleasepool {
    Student* student = [Student new];
    [student setGraduated: YES];
    // [student setDefaultName];
    // [student setFirstName: @"一龙"];
    // [student setLastName: @"董"];

    NSLog(@"student.name = \"%@\" isGraduated = %@", student.fullName, student.isGraduated ? @"Yes" : @"No");
  }
}